﻿// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// This file is part of CodingEditor.
// Note:	This project is derived from Peter Project
//			(hosted on sourceforge and codeplex)
//
// Copyright (c) 2008-2009, CE Team
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


namespace CE.Plugins
{
    using System;

    using CE.API;

    using WeifenLuo.WinFormsUI.Docking;

    public class FTPClientGui : DockContent, ICEPluginTab
    {
        #region Fields

        private System.Windows.Forms.ToolStripButton btnConnect;
        private System.Windows.Forms.ToolStripLabel lblHost;
        private System.Windows.Forms.ToolStripLabel lblPass;
        private System.Windows.Forms.ToolStripLabel lblPort;
        private System.Windows.Forms.ToolStripLabel lblUser;
        private System.Windows.Forms.ListBox listBox1;
        private Explorer localExplorer;
        private Explorer remoteExplorer;
        private System.Windows.Forms.ToolStrip toolStrip1;
        private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
        private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
        private System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
        private System.Windows.Forms.ToolStripSeparator toolStripSeparator4;
        private System.Windows.Forms.ToolStripTextBox txtHost;
        private System.Windows.Forms.ToolStripTextBox txtPass;
        private System.Windows.Forms.ToolStripTextBox txtPort;
        private System.Windows.Forms.ToolStripTextBox txtUser;

        #endregion Fields

        #region Methods

        bool ICEPluginTab.CloseTab()
        {
            throw new NotImplementedException();
        }

        void ICEPluginTab.Copy()
        {
            throw new NotImplementedException();
        }

        void ICEPluginTab.Cut()
        {
            throw new NotImplementedException();
        }

        void ICEPluginTab.Delete()
        {
            throw new NotImplementedException();
        }

        void ICEPluginTab.Duplicate()
        {
            throw new NotImplementedException();
        }

        bool ICEPluginTab.FindNext(System.Text.RegularExpressions.Regex reg, bool searchUp)
        {
            throw new NotImplementedException();
        }

        void ICEPluginTab.MarkAll(System.Text.RegularExpressions.Regex reg)
        {
            throw new NotImplementedException();
        }

        void ICEPluginTab.Paste()
        {
            throw new NotImplementedException();
        }

        void ICEPluginTab.Print(bool showDialog)
        {
            throw new NotImplementedException();
        }

        void ICEPluginTab.Redo()
        {
            throw new NotImplementedException();
        }

        void ICEPluginTab.ReplaceAll(System.Text.RegularExpressions.Regex reg, string replaceWith)
        {
            throw new NotImplementedException();
        }

        void ICEPluginTab.ReplaceNext(System.Text.RegularExpressions.Regex reg, string replaceWith, bool searchUp)
        {
            throw new NotImplementedException();
        }

        void ICEPluginTab.Save()
        {
            throw new NotImplementedException();
        }

        void ICEPluginTab.SaveAs(string filePath)
        {
            throw new NotImplementedException();
        }

        void ICEPluginTab.SelectAll()
        {
            throw new NotImplementedException();
        }

        void ICEPluginTab.SelectWord(int line, int offset, int wordLeng)
        {
            throw new NotImplementedException();
        }

        void ICEPluginTab.Undo()
        {
            throw new NotImplementedException();
        }

        private void InitializeComponent()
        {
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FTPClientGui));
            this.toolStrip1 = new System.Windows.Forms.ToolStrip();
            this.lblHost = new System.Windows.Forms.ToolStripLabel();
            this.txtHost = new System.Windows.Forms.ToolStripTextBox();
            this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
            this.lblUser = new System.Windows.Forms.ToolStripLabel();
            this.txtUser = new System.Windows.Forms.ToolStripTextBox();
            this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
            this.lblPass = new System.Windows.Forms.ToolStripLabel();
            this.txtPass = new System.Windows.Forms.ToolStripTextBox();
            this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
            this.lblPort = new System.Windows.Forms.ToolStripLabel();
            this.txtPort = new System.Windows.Forms.ToolStripTextBox();
            this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
            this.btnConnect = new System.Windows.Forms.ToolStripButton();
            this.listBox1 = new System.Windows.Forms.ListBox();
            this.localExplorer = new Explorer("Local:");
            this.remoteExplorer = new Explorer("Remote:");
            this.toolStrip1.SuspendLayout();
            this.SuspendLayout();
            //
            // toolStrip1
            //
            this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.lblHost,
            this.txtHost,
            this.toolStripSeparator1,
            this.lblUser,
            this.txtUser,
            this.toolStripSeparator2,
            this.lblPass,
            this.txtPass,
            this.toolStripSeparator3,
            this.lblPort,
            this.txtPort,
            this.toolStripSeparator4,
            this.btnConnect});
            this.toolStrip1.Location = new System.Drawing.Point(0, 0);
            this.toolStrip1.Name = "toolStrip1";
            this.toolStrip1.Size = new System.Drawing.Size(814, 25);
            this.toolStrip1.TabIndex = 0;
            this.toolStrip1.Text = "toolStrip1";
            //
            // lblHost
            //
            this.lblHost.Name = "lblHost";
            this.lblHost.Padding = new System.Windows.Forms.Padding(10, 0, 0, 0);
            this.lblHost.Size = new System.Drawing.Size(45, 22);
            this.lblHost.Text = "Host:";
            //
            // txtHost
            //
            this.txtHost.Name = "txtHost";
            this.txtHost.Size = new System.Drawing.Size(100, 25);
            //
            // toolStripSeparator1
            //
            this.toolStripSeparator1.Name = "toolStripSeparator1";
            this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25);
            //
            // lblUser
            //
            this.lblUser.Name = "lblUser";
            this.lblUser.Padding = new System.Windows.Forms.Padding(10, 0, 0, 0);
            this.lblUser.Size = new System.Drawing.Size(73, 22);
            this.lblUser.Text = "Username:";
            //
            // txtUser
            //
            this.txtUser.Name = "txtUser";
            this.txtUser.Size = new System.Drawing.Size(100, 25);
            //
            // toolStripSeparator2
            //
            this.toolStripSeparator2.Name = "toolStripSeparator2";
            this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25);
            //
            // lblPass
            //
            this.lblPass.Name = "lblPass";
            this.lblPass.Padding = new System.Windows.Forms.Padding(10, 0, 0, 0);
            this.lblPass.Size = new System.Drawing.Size(70, 22);
            this.lblPass.Text = "Password:";
            //
            // txtPass
            //
            this.txtPass.Name = "txtPass";
            this.txtPass.Size = new System.Drawing.Size(100, 25);
            //
            // toolStripSeparator3
            //
            this.toolStripSeparator3.Name = "toolStripSeparator3";
            this.toolStripSeparator3.Size = new System.Drawing.Size(6, 25);
            //
            // lblPort
            //
            this.lblPort.Name = "lblPort";
            this.lblPort.Padding = new System.Windows.Forms.Padding(10, 0, 0, 0);
            this.lblPort.Size = new System.Drawing.Size(42, 22);
            this.lblPort.Text = "Port:";
            //
            // txtPort
            //
            this.txtPort.Name = "txtPort";
            this.txtPort.Size = new System.Drawing.Size(100, 25);
            //
            // toolStripSeparator4
            //
            this.toolStripSeparator4.Name = "toolStripSeparator4";
            this.toolStripSeparator4.Size = new System.Drawing.Size(6, 25);
            //
            // btnConnect
            //
            this.btnConnect.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
            this.btnConnect.Image = ((System.Drawing.Image)(resources.GetObject("btnConnect.Image")));
            this.btnConnect.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.btnConnect.Name = "btnConnect";
            this.btnConnect.Size = new System.Drawing.Size(56, 22);
            this.btnConnect.Text = "Connect";
            //
            // listBox1
            //
            this.listBox1.Dock = System.Windows.Forms.DockStyle.Top;
            this.listBox1.FormattingEnabled = true;
            this.listBox1.Location = new System.Drawing.Point(0, 25);
            this.listBox1.Name = "listBox1";
            this.listBox1.Size = new System.Drawing.Size(814, 108);
            this.listBox1.TabIndex = 1;
            //
            // localExplorer
            //
            this.localExplorer.Location = new System.Drawing.Point(0, 139);
            this.localExplorer.Name = "localExplorer";
            this.localExplorer.Size = new System.Drawing.Size(403, 327);
            this.localExplorer.TabIndex = 2;
            //
            // remoteExplorer
            //
            this.remoteExplorer.Location = new System.Drawing.Point(409, 139);
            this.remoteExplorer.Name = "remoteExplorer";
            this.remoteExplorer.Size = new System.Drawing.Size(403, 327);
            this.remoteExplorer.TabIndex = 3;
            //
            // FTPClientGui
            //
            this.ClientSize = new System.Drawing.Size(814, 468);
            this.Controls.Add(this.remoteExplorer);
            this.Controls.Add(this.localExplorer);
            this.Controls.Add(this.listBox1);
            this.Controls.Add(this.toolStrip1);
            this.Name = "FTPClientGui";
            this.toolStrip1.ResumeLayout(false);
            this.toolStrip1.PerformLayout();
            this.ResumeLayout(false);
            this.PerformLayout();
        }

        #endregion Methods

        #region ICEPluginTab Members

        public bool AbleToCopy
        {
            get { throw new NotImplementedException(); }
        }

        public bool AbleToCut
        {
            get { throw new NotImplementedException(); }
        }

        public bool AbleToDelete
        {
            get { throw new NotImplementedException(); }
        }

        public bool AbleToPaste
        {
            get { throw new NotImplementedException(); }
        }

        public bool AbleToRedo
        {
            get { throw new NotImplementedException(); }
        }

        public bool AbleToSave
        {
            get { throw new NotImplementedException(); }
        }

        public bool AbleToSelectAll
        {
            get { throw new NotImplementedException(); }
        }

        public bool AbleToUndo
        {
            get { throw new NotImplementedException(); }
        }

        public string FileName
        {
            get { throw new NotImplementedException(); }
        }

        public ICEPluginHost Host
        {
            get
            {
                throw new NotImplementedException();
            }
            set
            {
                throw new NotImplementedException();
            }
        }

        public bool NeedsSaving
        {
            get { throw new NotImplementedException(); }
        }

        public string Selection
        {
            get { throw new NotImplementedException(); }
        }


        void Cut()
        {
            throw new NotImplementedException();
        }

        void Delete()
        {
            throw new NotImplementedException();
        }

        void Duplicate()
        {
            throw new NotImplementedException();
        }

        void MarkAll(System.Text.RegularExpressions.Regex reg)
        {
            throw new NotImplementedException();
        }

        void Paste()
        {
            throw new NotImplementedException();
        }

        void Print(bool showDialog)
        {
            throw new NotImplementedException();
        }

        void Redo()
        {
            throw new NotImplementedException();
        }

        void ReplaceAll(System.Text.RegularExpressions.Regex reg, string replaceWith)
        {
            throw new NotImplementedException();
        }

        void ReplaceNext(System.Text.RegularExpressions.Regex reg, string replaceWith, bool searchUp)
        {
            throw new NotImplementedException();
        }

        void Save()
        {
            throw new NotImplementedException();
        }

        void SaveAs(string filePath)
        {
            throw new NotImplementedException();
        }

        void SelectAll()
        {
            throw new NotImplementedException();
        }

        void SelectWord(int line, int offset, int wordLeng)
        {
            throw new NotImplementedException();
        }

        void Undo()
        {
            throw new NotImplementedException();
        }

        bool FindNext(System.Text.RegularExpressions.Regex reg, bool searchUp)
        {
            throw new NotImplementedException();
        }

        bool CloseTab()
        {
            throw new NotImplementedException();
        }

        #endregion
    }
}